html {
    font-size: 17.06667px;
}

body {
    width: 100%;
    min-width: 320px;
    max-width: 640px;
    margin: auto;
    background-color: #f6f6f6;
    font: 14px -apple-system, Helvetica, sans-serif;
    line-height: 1.5;
    color: #666;
}

ul {
    padding: 0;
    margin: 0;
}

li {
    list-style: none;
}

img {
    width: 100%;
    vertical-align: middle;
    border: none;
}

a {
    color: #666;
    text-decoration: none;
}

.clearfix::after {
    content: '';
    display: block;
    height: 0;
    overflow: hidden;
    clear: both;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}


/* 移动端 */

* {
    -webkit-tap-highlight-color: transparent;
}

input {
    -webkit-appearance: none;
}

img,
a {
    -webkit-touch-callout: none;
}


/* appNav  */

.appNav {
    height: 45px;
}

.appNav ul li {
    float: left;
    height: 45px;
    line-height: 45px;
    background-color: #333;
    text-align: center;
    color: #fff;
}

.appNav ul li:nth-child(1) {
    width: 8%;
}

.appNav ul li:nth-child(1) img {
    width: 10px;
}

.appNav ul li:nth-child(2) {
    width: 10%;
}

.appNav ul li:nth-child(2) img {
    width: 30px;
    vertical-align: middle;
}

.appNav ul li:nth-child(3) {
    width: 57%;
}

.appNav ul li:nth-child(4) {
    width: 25%;
    background-color: #f63515;
}


/* 搜索 */

.searchWrap {
    position: fixed;
    width: 100%;
    height: 44px;
    overflow: hidden;
    min-width: 320px;
    max-width: 640px;
    z-index: 124;
}

.searchBtn,
.searchLogin {
    position: absolute;
    top: 0;
    width: 40px;
    height: 44px;
}

.searchBtn {
    left: 0;
}

.searchBtn::before {
    content: '';
    display: block;
    width: 20px;
    height: 18px;
    background: url(../images/s-btn.png) no-repeat;
    background-size: 20px 18px;
    margin: 14px 0 0 15px;
}

.searchLogin {
    right: 0;
    line-height: 44px;
    font-size: 14px;
    color: #fff;
}

.search {
    position: relative;
    height: 30px;
    margin: 0 50px;
    background-color: #fff;
    border-radius: 15px;
    margin-top: 7px;
}

.jd-icon {
    position: absolute;
    top: 7px;
    left: 13px;
    width: 20px;
    height: 15px;
    background: url(../images/jd.png) no-repeat;
    background-size: 20px 15px;
}

.jd-icon::after {
    position: absolute;
    top: 0;
    right: -10px;
    content: '';
    display: block;
    width: 1px;
    height: 15px;
    background-color: #ccc;
}

.search-sou {
    position: absolute;
    top: 8px;
    left: 50px;
    width: 18px;
    height: 15px;
    background-color: pink;
    background: url(../images/jd-sprites.png) no-repeat -81px 0;
    background-size: 200px auto;
}

.brand {
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

.brand .brand-list {
    float: left;
    width: 33.33%;
}

.brand .brand-list img {
    width: 100%;
}


/* nav */

.nav a {
    float: left;
    width: 20%;
    text-align: center;
    margin-top: 5px;
}

.nav a img {
    width: 2rem;
    margin: .5rem 0;
}

.nav a span {
    display: block;
    background-color: #f6f6f6;
}


/* 新闻模块 */

.news {
    width: 100%;
    margin-top: 20px;
}

.news a {
    width: 25%;
    display: block;
    float: left;
}

.news a:nth-child(1) {
    width: 50%;
}

.news a:nth-child(n+2) {
    border-left: 1px solid #f1f1f1;
    box-sizing: border-box;
}

.container {
    width: 100%;
    margin-top: 10px;
}

.container-content {
    float: left;
    width: 25%;
    background-color: #fff;
    box-sizing: border-box;
}

.container-content h3 {
    font: 700 .8rem '微软雅黑';
    color: #000;
    letter-spacing: .58px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin-top: 10px;
    text-align: center;
}

.container-content .container-cont {
    color: transparent;
}

.container-content p {
    font-size: .6rem;
    color: #222;
    margin: 5px 0;
    text-align: center;
}


/* 东家小院 */

.Courtyard {
    width: 100%;
    margin-top: 10px;
}

.Cour-mian,
.eve-mian {
    padding: 10px 20px 15px;
    background-color: #fff;
}

.Cour-content {
    float: left;
    width: 50%;
}

.Cour-content .content-title,
.content-title {
    font: 700 1rem '微软雅黑';
    color: #000;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.Cour-content p,
.Cour-list p,
.eve-list p {
    margin: 0;
    font-size: .75rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.Cour-content img,
.Cour-list img,
.eve-list img {
    width: 3rem;
    margin: 5px 0 0 12px;
}

.Cour-list,
.eve-list {
    float: left;
    width: 25%;
    margin-top: 20px;
}


/* 每日逛 */

.everyday,
.live {
    margin-top: 15px;
}

.live {
    margin-bottom: 30px
}


/* 猜你喜欢 */

.live-content {
    position: relative;
    float: left;
    width: 48%;
    border-radius: 15px;
    overflow: hidden;
    margin-right: 4%;
    margin-bottom: 20px;
}

.live-content:nth-of-type(2n) {
    margin-right: 0;
}

.live-content p,
span {
    display: -webkit-box;
    padding: 2px 4px 0;
    font-size: 12px;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    color: #1a1a1a;
    background-color: #fafafa;
    box-sizing: border-box;
    overflow: hidden;
}

.live-content span {
    padding-top: 10px;
    padding-bottom: 40px;
    font-size: 16px;
    color: #fa2c19;
}

.live-content .live-btn {
    display: block;
    position: absolute;
    right: 0;
    bottom: 20px;
    height: 35px;
    line-height: 35px;
    color: gray;
    padding: 0 8px;
    background-color: #e5e7eb;
    border-radius: 32px;
    border-top-right-radius: 0;
    overflow: visible;
}

.live-btn::before {
    position: absolute;
    top: -2.5px;
    right: -2.5px;
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    background-color: #e5e7eb;
    border-top-left-radius: .55rem;
}


/* footer */

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 0 10px 0 hsla(0, 6%, 58%, .6);
}

.footer-list {
    margin: 0 5%;
}

.footer a {
    position: relative;
    float: left;
    width: 20%;
    padding-left: 5%;
    box-sizing: border-box;
}

@media screen and (min-width: 640px) {
    .footer a img {
        width: 20%;
    }
}